import 'package:get_it/get_it.dart';
import 'package:mobile_app.home.learning.training/audio_card/injection_container.dart'
    as audio_card_di;
import 'package:mobile_app.home.learning.training/initial_memorization_card/injection_container.dart'
    as initial_memorization_card_di;
import 'package:mobile_app.home.learning.training/subsequent_memorization_card/injection_container.dart'
    as subsequent_memorization_card_di;
import 'package:mobile_app.home.learning.training/training_page/injection_container.dart'
    as training_page_di;
import 'package:mobile_app.home.learning.training/translation_selection_card/injection_container.dart'
    as translation_selection_card_di;
import 'package:mobile_app.home.learning.training/typing_card/injection_container.dart'
    as typing_card_di;

final sl = GetIt.asNewInstance();

Future<void> init() async {
  await Future.wait([
    audio_card_di.init(),
    initial_memorization_card_di.init(),
    subsequent_memorization_card_di.init(),
    translation_selection_card_di.init(),
    typing_card_di.init(),
    training_page_di.init(),
  ]);
}
